import puppeteer from "puppeteer-extra";
import StealthPlugin from "puppeteer-extra-plugin-stealth";

puppeteer.use(StealthPlugin());

// (async () => {
//   const browser = await puppeteer.launch({
//     headless: false,
//   });
//   const page = await browser.newPage();

//   await page.setUserAgent(userAgent);

//   await page.goto("https://avd.aliyun.com/nvd/list");
//   //   await browser.close();
// })();

export default puppeteer;
